package mail;

/**
 * Filtro de email por asunto.
 * @author Damian
 *
 */
public class FilterSubject extends SearchType{

	@Override
	public Boolean filter(Mail email) {
		return email.getTema().contains(this.content);
	}

	public FilterSubject(String subject){
		this.content = subject;
	}
}
